package financial.sharing.center.receivable.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.receivable.model.entity.ReceivableAccrued;
import financial.sharing.center.receivable.model.entity.ReceivableBill;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @ClassName ReceivableBillService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface ReceivableBillService {

    ReceivableBill getReceivableBill(Integer id);

    Integer getBillNumber(ReceivableAccrued receivableAccrued);

    PageInfo<ReceivableBill> getAllReceivableBill(Integer contractId, Integer accruedId, Integer billId);

    Integer createOneReceivableBill(BigDecimal billAmount, String payableCompanyName, String receivableCompanyName);

    Integer compileOneReceivableBill(ReceivableBill receivableBill);

    Integer deleteOneReceivableBill(Integer id);

    Map<Integer, BigDecimal> getMapReceivableBill();
}
